// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Ability/BaseGameplayAbility.h"
#include "MeleeAttackeGameplayAbility.generated.h"

/**
 * 
 */
UCLASS()
class SSHOOT_API UMeleeAttackeGameplayAbility : public UBaseGameplayAbility
{
	GENERATED_BODY()

public:
	UMeleeAttackeGameplayAbility();
	
	UPROPERTY(VisibleAnywhere, Category = MontageAbility)
	TObjectPtr<UAnimMontage> AttackMontageToPlay;
	
protected:
	virtual void ActivateAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo,
		const FGameplayAbilityActivationInfo ActivationInfo, const FGameplayEventData* TriggerEventData) override;
	
};
